//
//  WriteEntryViewController.h
//  MyVirtualDiary
//
//  Created by Alexander Wallis on 13.07.13.
//  Copyright (c) 2013 Alexander Wallis. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "User.h"
#import "Entry.h"

@interface WriteEntryViewController : UIViewController

@property (weak, nonatomic) IBOutlet UITextField *entryTextField;
@property (strong, nonatomic) NSManagedObjectID *userID;
@property (strong, nonatomic) NSManagedObjectID *entryID;
@property(strong, nonatomic) NSString *titel;
@property (strong, nonatomic) NSDate *date; 

-(IBAction)cancel:(id)sender;
-(IBAction)save:(id)sender;
-(IBAction)backgroundTouched:(id)sender;

@property (weak, nonatomic) IBOutlet UIBarButtonItem *save;

@end
